package ccd;

import java.io.IOException;

public class example15 {
    public static void main(String[] args) throws IOException {
        Runtime rt = Runtime.getRuntime();//创建Runtime实例对象
        rt.exec("notepad");//调用exec()方法
    }
}